-- GENERATED SPELL FOR [Grimtotem Breaker] --


function spell0_23592(pUnit, Event) --@Bone Breaker,n/a--
pUnit:FullCastSpellOnTarget(43108,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23592', 671, 1)
end

function Sorts_23592(pUnit, Event)
local choix_sorts_23592 = math.random(0, 0)
if choix_sorts_23592 == 0 then
pUnit:RegisterEvent('spell0_23592', 1, 1)
end
end

function mob23592_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23592', math.random(1500, 3000), 1)
end

function mob23592_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23592_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23592_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23592, 1, 'mob23592_Action')
RegisterUnitEvent(23592, 2, 'mob23592_Leave')
RegisterUnitEvent(23592, 3, 'mob23592_Kill')
RegisterUnitEvent(23592, 4, 'mob23592_Die')
